<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Alfar Engine: AlfarEngine.Utilities.ShadowMapping.ShadowmapResolver Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Alfar Engine
   
   </div>
   <div id="projectbrief">A little 2D engine managing a scene</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_alfar_engine.html">AlfarEngine</a>      </li>
      <li class="navelem"><a class="el" href="namespace_alfar_engine_1_1_utilities.html">Utilities</a>      </li>
      <li class="navelem"><a class="el" href="namespace_alfar_engine_1_1_utilities_1_1_shadow_mapping.html">ShadowMapping</a>      </li>
      <li class="navelem"><a class="el" href="class_alfar_engine_1_1_utilities_1_1_shadow_mapping_1_1_shadowmap_resolver.html">ShadowmapResolver</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">AlfarEngine.Utilities.ShadowMapping.ShadowmapResolver Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver" --><div class="dynheader">
Inheritance diagram for AlfarEngine.Utilities.ShadowMapping.ShadowmapResolver:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_alfar_engine_1_1_utilities_1_1_shadow_mapping_1_1_shadowmap_resolver.png" usemap="#AlfarEngine.Utilities.ShadowMapping.ShadowmapResolver_map" alt=""/>
  <map id="AlfarEngine.Utilities.ShadowMapping.ShadowmapResolver_map" name="AlfarEngine.Utilities.ShadowMapping.ShadowmapResolver_map">
<area href="class_alfar_engine_1_1_utilities_1_1_shadow_mapping_1_1_shadowmap_resolver_spot.html" alt="AlfarEngine.Utilities.ShadowMapping.ShadowmapResolverSpot" shape="rect" coords="0,56,367,80"/>
</map>
 </div></div>

<p><a href="class_alfar_engine_1_1_utilities_1_1_shadow_mapping_1_1_shadowmap_resolver-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_alfar_engine_1_1_utilities_1_1_shadow_mapping_1_1_shadowmap_resolver.html#a9051bc986db61f043e023b28c4341852">ShadowmapResolver</a> (GraphicsDevice graphicsDevice, <a class="el" href="class_alfar_engine_1_1_utilities_1_1_shadow_mapping_1_1_quad_render_component.html">QuadRenderComponent</a> quadRender, ShadowmapSize maxShadowmapSize, ShadowmapSize maxDepthBufferSize)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new shadowmap resolver.  <a href="#a9051bc986db61f043e023b28c4341852"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8adcef78613ab7dbfd07d451c8ee3b7a"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::LoadContent" ref="a8adcef78613ab7dbfd07d451c8ee3b7a" args="()" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>LoadContent</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada987c69e547adc27077f53239114b62"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::ResolveShadows" ref="ada987c69e547adc27077f53239114b62" args="(Texture2D shadowCastersTexture, RenderTarget2D result, Vector2 lightPosition)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>ResolveShadows</b> (Texture2D shadowCastersTexture, RenderTarget2D result, Vector2 lightPosition)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57d7546bd2ebae2cba97bcf6d628ad5f"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::ExecuteTechnique" ref="a57d7546bd2ebae2cba97bcf6d628ad5f" args="(Texture2D source, RenderTarget2D destination, string techniqueName, Texture2D shadowMap)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>ExecuteTechnique</b> (Texture2D source, RenderTarget2D destination, string techniqueName, Texture2D shadowMap)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4044bcb1c31e9b6ac6eaca348552cc0e"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::graphicsDevice" ref="a4044bcb1c31e9b6ac6eaca348552cc0e" args="" -->
GraphicsDevice&#160;</td><td class="memItemRight" valign="bottom"><b>graphicsDevice</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa85eca568e31c5039eb2277c9c30a72e"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::reductionChainCount" ref="aa85eca568e31c5039eb2277c9c30a72e" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>reductionChainCount</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16b2270660c5391845d7813b70eaa068"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::baseSize" ref="a16b2270660c5391845d7813b70eaa068" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>baseSize</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41c088b9899be4a42c7794ea3b2c2d89"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::depthBufferSize" ref="a41c088b9899be4a42c7794ea3b2c2d89" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>depthBufferSize</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adf9a39a2ffdb9a453c401490a93989e3"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::resolveShadowsEffect" ref="adf9a39a2ffdb9a453c401490a93989e3" args="" -->
Effect&#160;</td><td class="memItemRight" valign="bottom"><b>resolveShadowsEffect</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c7619fa0b00e88663412907b8c9eccb"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::reductionEffect" ref="a7c7619fa0b00e88663412907b8c9eccb" args="" -->
Effect&#160;</td><td class="memItemRight" valign="bottom"><b>reductionEffect</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb2ca4eb320d120ca5cb848afd167902"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::distortRT" ref="adb2ca4eb320d120ca5cb848afd167902" args="" -->
RenderTarget2D&#160;</td><td class="memItemRight" valign="bottom"><b>distortRT</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a58e6279bfc1635de13799078f0f522c1"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::shadowMap" ref="a58e6279bfc1635de13799078f0f522c1" args="" -->
RenderTarget2D&#160;</td><td class="memItemRight" valign="bottom"><b>shadowMap</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80bdbbaee5b5256e986c830f96c40aec"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::shadowsRT" ref="a80bdbbaee5b5256e986c830f96c40aec" args="" -->
RenderTarget2D&#160;</td><td class="memItemRight" valign="bottom"><b>shadowsRT</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abaf8ee5a826677ea31fa1d2695ce3ff4"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::processedShadowsRT" ref="abaf8ee5a826677ea31fa1d2695ce3ff4" args="" -->
RenderTarget2D&#160;</td><td class="memItemRight" valign="bottom"><b>processedShadowsRT</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3d295ad119fc9a773bcd54476a8b7f90"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::quadRender" ref="a3d295ad119fc9a773bcd54476a8b7f90" args="" -->
<a class="el" href="class_alfar_engine_1_1_utilities_1_1_shadow_mapping_1_1_quad_render_component.html">QuadRenderComponent</a>&#160;</td><td class="memItemRight" valign="bottom"><b>quadRender</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a925cbaf5c2ce0b2274cfb59f9321afed"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::distancesRT" ref="a925cbaf5c2ce0b2274cfb59f9321afed" args="" -->
RenderTarget2D&#160;</td><td class="memItemRight" valign="bottom"><b>distancesRT</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9c3c8352ad8357fd285edb104b609b1a"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::reductionRT" ref="a9c3c8352ad8357fd285edb104b609b1a" args="" -->
RenderTarget2D[]&#160;</td><td class="memItemRight" valign="bottom"><b>reductionRT</b></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9051bc986db61f043e023b28c4341852"></a><!-- doxytag: member="AlfarEngine::Utilities::ShadowMapping::ShadowmapResolver::ShadowmapResolver" ref="a9051bc986db61f043e023b28c4341852" args="(GraphicsDevice graphicsDevice, QuadRenderComponent quadRender, ShadowmapSize maxShadowmapSize, ShadowmapSize maxDepthBufferSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AlfarEngine.Utilities.ShadowMapping.ShadowmapResolver.ShadowmapResolver </td>
          <td>(</td>
          <td class="paramtype">GraphicsDevice&#160;</td>
          <td class="paramname"><em>graphicsDevice</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_alfar_engine_1_1_utilities_1_1_shadow_mapping_1_1_quad_render_component.html">QuadRenderComponent</a>&#160;</td>
          <td class="paramname"><em>quadRender</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ShadowmapSize&#160;</td>
          <td class="paramname"><em>maxShadowmapSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ShadowmapSize&#160;</td>
          <td class="paramname"><em>maxDepthBufferSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new shadowmap resolver. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">graphicsDevice</td><td>The Graphics Device used by the XNA game</td></tr>
    <tr><td class="paramname">quadRender</td><td></td></tr>
    <tr><td class="paramname">baseSize</td><td>The size of the light regions </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>E:/XNA/alfarEngine/AlfarEngine/Utilities/ShadowMapping/ShadowmapResolver.cs</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 16 2012 09:38:38 for Alfar Engine by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
